 |
 |
 |
 |
 |
|
|
 |
A
simple program
|
Again
comment
|
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
//include
this file for cout
|
|
#include
<iostream.h>
|
|
|
int
main()
|
|
{
|
|
//print out the text string,
|
//"Hello, World!"
|
|
cout << "Hello, World!"
|
|
<< endl;
|
|
return 0;
|
|
}
|
|
|
|
|
|
 |
 |
 |
 |
 |
 |
Another comment
line.
|
|
Remember, the
compiler
|
|
ignores anything
following
|
|
// (up until the end of the
|
|
line), or
/*comment
|
|
something */
(everything
|
|
between /* and
*/), so you
|
can say whatever
you want
|
on these lines.
|
|
|
|
|
|
|